﻿// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License, See License.txt in the project root for license information.

namespace NSQL.Expressions.Functions
{
    public interface ITrimFunction : IStringFunction
    {
        IStringExpression Expr { get; set; }
        IConstantStringExpression TrimExpr { get; set; }
        TrimType Type { get; set; }
    }

    public enum TrimType
    {
        Both,
        Leading,
        Trailing
    }
}